<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ page import="net.sapfree.core.db.RecordSet"%>
<%@ page import="net.sapfree.core.db.Record"%>
<%@ page import="net.sapfree.article.ArticleHandler"%>
<%@ page import="net.sapfree.core.util.CutHtml"%>
<%@ page import="net.sapfree.common.Constants"%>

<%@ taglib uri="/WEB-INF/sapfree-info.tld" prefix="sap" %>
  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

String personuuid = (String)request.getAttribute("personuuid");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    
<meta http-equiv="keywords" content="login,regist first">
<meta http-equiv="description" content="This is login page">

<title>大作业 大家一起来努力</title>
<link href="<%=path%>/include/styleBase/css/ostable.css" rel="stylesheet"></link>
<link href="<%=path%>/include/styleBase/css/leftPage.css" rel="stylesheet"></link>
<link href="<%=path%>/include/styleBase/css/tagStyle.css" rel="stylesheet"></link>
<link href="<%=path%>/include/styleBase/css/fontStyle.css" rel="stylesheet"></link>
<link href="<%=path%>/include/styleBase/css/headfoot.css" rel="stylesheet"></link>


<script type="text/javascript" src="<%=path%>/include/KindEditor/kindeditor.js"></script>
<script type="text/javascript" src="<%=path%>/include/js/jquery.js"></script>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>

</head>
<body>
<form name="frm" method="post">

<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#6293bb">
<tr>
	<td align="center">
	
    <table border="0" cellpadding="0" cellspacing="0" width="1000" align="center" bgcolor="#FFFFFF">
	<tr>
    	<td colspan="6">banner</td>
    </tr>
	<tr>
    	<td width="20">&nbsp;</td>
    	<td width="190" valign="top">
        <!--左侧导航-->
        左侧        </td>
        <td width="10"></td>
      	<td valign="top" width="860">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr><td height="30" class="blackBold18">发起任务</td></tr>
        <tr><td height="10" width="100%"><div style="border-top:1px dashed #cccccc;height: 1px;overflow:hidden; width:100%;"></div></td></tr>
        <tr>
        	<td>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
            	<tr>
                	<td class="greyBold12" align="left" height="30">任务标题：<input size="40" id="WIKI_WKT_TASKNAME" name="WIKI_WKT_TASKNAME"> <span class="greyNormal12">（20个汉字以内）</span> </td>
                </tr>
            	<tr>
                	<td class="greyBold12" align="left" height="30">任务范围：<span class="greyNormal12">（您可以向您所在的班级发起任务，您也可以向邀请其他班级的同学共同完成。）</span></td>
                </tr>
                <tr>
                	<td class="orangeNormal14" align="left" height="30">
                    <sap:JoinedQuanList personuuid="<%=personuuid%>">
                    	<sap:JoinedQuan>
                    	<input type="checkbox" id="WIKI_WKT_QUANUUID" name="WIKI_WKT_QUANUUID" value="<sap:write property='QUAN_UUID' />" checked><sap:write property="QUAN_NAME" />&nbsp;&nbsp;&nbsp;
                    	</sap:JoinedQuan>
                    </sap:JoinedQuanList>
                    </td>
                </tr>
                <tr>
                	<td height="30" align="left" class="greyBold12">任务说明：<span class="greyNormal12">（200个汉字以内）</span></td>
                </tr>
                <tr>
                	<td align="left"><textarea id="WKT_MEMO" name=="WKT_MEMO" cols="90" rows="5"></textarea></td>
                </tr>
                <tr>
                	<td height="30" align="left" class="greyBold12">任务主题：<span class="greyNormal12">（不同主题之间请用“；”分开，主题中请不要包含“；”。）</span></td>
                </tr>
                <tr>
                	<td align="left"><textarea id="WIKIWORD" name="WIKIWORD" cols="90" rows="7"></textarea></td>
                </tr>
            </table>
            </td>
        </tr>
        <tr>
          <td align="center" height="30">
          <input type="button" value="保存" onclick="javascript:_save();">&nbsp;
          <input type="button" value="发布">&nbsp;
          <input type="button" value="放弃">&nbsp;
          </td>
        </tr>
        
        <tr>
        	<td colspan="3">&nbsp;</td>
        </tr>
        </table>    
		</td>
      	<td width="20">&nbsp;</td>      
	</tr>
    </table>

    <table border="0" cellpadding="0" cellspacing="0" width="1000" align="center" bgcolor="#FFFFFF">
        <tr><td height="10"></td></tr>
        <tr><td align="center"><hr color="#999999" size="1" width="960"></td></tr>
        <tr>
            <td align="center" height="25">
            （C） 2011-2016 Sapfree.com
            </td>
        </tr>
        <tr>
            <td align="center" height="25">
            联系我们&nbsp;&nbsp;隐私声明&nbsp;&nbsp;使用条款&nbsp;&nbsp;版权商标&nbsp;&nbsp;网站地图
            </td>
        </tr>
        <tr><td height="20"></td></tr>
    </table>
    
	</td>
</tr>
</table>


</form>
</body>
</html>

<script language="javascript">
function _save(){
	frm.action="<%=request.getContextPath()%>/wiki?method=saveTask";
	frm.submit();
}
</script>